//
//  ZQUserAccount.swift
//  Timor微博
//
//  Created by 周周旗 on 2019/4/26.
//  Copyright © 2019 ZQ. All rights reserved.
//

import UIKit

class ZQUserAccount: NSObject {
    //访问令牌
    @objc  var access_token : String? //= "2.00_HMFNDB1YcNDca116293cd01ZtyF"
    //用户代号
    @objc   var uid : String?
    
    /// 过期access_token生命周期，单位s
    @objc  var expires_in : TimeInterval = 0{
        didSet{
            expiresDate = Date(timeIntervalSinceNow: expires_in)
        }
    }
    ///过期日期
    @objc var expiresDate : Date?
    
    
    override var description: String{
        return yy_modelDescription()
    }
}


